<!--
 * @Author: @yzcheng
 * @Date: 2021-03-10 15:21:17
 * @Version: 1.0
 * @LastEditors: @yzcheng
 * @Description: 
 * @LastEditTime: 2021-03-13 17:55:19
-->
<template>
  <el-form
    ref="form"
    size="small"
    inline
    :model="form"
    label-width="auto"
    :rules="rules"
  >
    <el-form-item prop="flowName" :label="$t('flowTask.userTable.logInAccount')">
      <el-input v-model="form.flowName"></el-input>
    </el-form-item>
    <el-form-item prop="flowName" :label="$t('flowTask.userTable.userNickName')">
      <el-input v-model="form.flowName"></el-input>
    </el-form-item>
    <el-form-item prop="flowName" :label="$t('flowTask.userTable.employeesName')">
      <el-input v-model="form.flowName"></el-input>
    </el-form-item>
    <el-form-item prop="flowKey" :label="$t('flowTask.userTable.institutions')">
      <el-input v-model="form.flowKey"></el-input>
    </el-form-item>
    <el-form-item :label="$t('flowTask.userTable.company')">
      <el-input readonly v-model="form.flowTypeName">
        <template #suffix>
          <i class="el-icon-search el-input__icon"> </i>
        </template>
      </el-input>
    </el-form-item>
    <el-form-item :label="$t('flowTask.userTable.mobilePhone')">
      <el-select v-model="form.flowStatus">
        <el-option label="" value=""></el-option>
        <el-option label="已启动" value="1"></el-option>
        <el-option label="已挂起" value="2"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="$emit('currentChange')">
        {{ $t("button.search") }}</el-button
      >
      <el-button @click="$emit('onreset')"> {{ $t("button.reset") }}</el-button>
    </el-form-item>
  </el-form>
</template>

<script>
import { mapState } from "vuex";
export default {
  data() {
    return {};
  },

  components: {},

  computed: {
    ...mapState({
      form: (state) => state.flowDefineStore.form,
    }),
  },
  // mounted() {},

  methods: {},
};
</script>
<style lang='scss' scoped>
</style>